package com.example.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

@Data
public class Book {

    @ExcelProperty("id")
    private Integer id;

    @ExcelProperty("name")
    private String name;

    @ExcelProperty("img")
    private String img;

    @ExcelProperty("author")
    private String author;

    @ExcelProperty("editor")
    private String editor;

    @ExcelProperty("translator")
    private String translator;

    @ExcelProperty("publisher")
    private String publisher;

    @ExcelProperty("price")
    private Double price;

    @ExcelProperty("publishTime")
    private Integer publishTime;

    @ExcelProperty("preservation")
    private Double preservation;

    @ExcelProperty("askNum")
    private Integer askNum;

    @ExcelProperty("isbn")
    private Long isbn;

    @ExcelProperty("chineseImage")
    private String chineseImage;

    @ExcelProperty("prefix")
    private String chineseImagePrefix;

    @ExcelProperty("labelName")
    private String labelName;

    @ExcelProperty("summary")
    private String summary;

    @ExcelProperty("keyword")
    private String keyword;

}
